home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-01-25 | 517 b | 22 lines | [TEXT/ToyS] |
- tell application "FileMaker Pro"
- activate
- -- choose the file to open
- if not (Exists (Window "Sales Database")) then
- set myFile to choose file with prompt "Select the file 'Sales Database'…"
- Open myFile
- end if
- Show Layout "Data Entry"
- Sort Layout 1 By Field 1
- Do Script FileMaker Script "Graph in Excel"
- end tell
-
- tell application "Microsoft Excel"
- activate
- quit
- end tell
-
- tell application "FileMaker Pro"
- activate
- Show Window "Sales Database"
- Do Script FileMaker Script "Paste From Clipboard"
- end tell